import { Children, lazy } from 'react'

import {
    DesktopOutlined,
    FileOutlined,
    PieChartOutlined,
    TeamOutlined,
    UserOutlined,
} from '@ant-design/icons';

let Main = lazy(() => import('../pages/main'))
let Home = lazy(() => import('../pages/home'))

export let homeRouter = [
    {
        path: '/',
        element: <Home></Home>,
        label: '首页',
        icon: <DesktopOutlined></DesktopOutlined>
    }
]

let routes = [
    {
        path: '/',
        element: <Main></Main>,
        children: homeRouter
    }
]
export default routes